package com.Java.train.member.service;

import com.Java.train.common.req.MemberTicketReq;
import com.Java.train.common.response.CommonResp;
import com.Java.train.member.domain.DTO.TicketDTO;
import com.Java.train.member.domain.Ticket;
import com.Java.train.member.req.TicketQueryReq;
import com.baomidou.mybatisplus.extension.service.IService;
import com.Java.train.common.response.PageResp;

/**
* @author luomoxingchen
* @since 2024-10-08
*/
public interface TicketService extends IService<Ticket> {

    /**
     * Ticket详情
     *
     * @param
     * @return
     */
    PageResp<TicketDTO> queryList(TicketQueryReq ticketQueryReq);

    /**
    * Ticket保存和修改
    * @param ticket 根据需要进行传值
    * @return
    */
    CommonResp<Object> modify(MemberTicketReq rep);

    /**
    * Ticket删除
    * @param ids
    * @return
    */
    CommonResp<Object> remove(String ids);
}


